import request from '@/utils/request'

// 查询fo_investigation_order列表
export function listInvestigation_order(query) {
  return request({
    url: '/yipaiju/investigation_order/list',
    method: 'get',
    params: query
  })
}

// 查询fo_investigation_order详细
export function getInvestigation_order(id) {
  return request({
    url: '/yipaiju/investigation_order/' + id,
    method: 'get'
  })
}

// 新增fo_investigation_order
export function addInvestigation_order(data) {
  return request({
    url: '/yipaiju/investigation_order',
    method: 'post',
    data: data
  })
}

// 修改fo_investigation_order
export function updateInvestigation_order(data) {
  return request({
    url: '/yipaiju/investigation_order',
    method: 'put',
    data: data
  })
}

// 删除fo_investigation_order
export function delInvestigation_order(id) {
  return request({
    url: '/yipaiju/investigation_order/' + id,
    method: 'delete'
  })
}
